<template>
	<view class="tag">
		{{text}}
	</view>
</template>

<script>
	export default {
	    data() {
	        return {
				
			};
	    },
	    props: {
	        text: {
	            type: String,
	            default: '已完成'
	        }
	    },
		mounted() {
			// console.log(this.text)
		},
	    methods: {
	        
	    }
	};
</script>

<style scoped>
	.tag{
		width: 90rpx;
		height: 90rpx;
		line-height: 90rpx;
		text-align: center;
		font-size: 22rpx;
		border: 4rpx solid red;
		border-radius: 50%;
		color: red;
		font-weight: bold;
		transform: rotate(45deg);
		position: absolute;
		right: 0;
		top: 0;
		z-index: 9;
	}
</style>